package com.qf.service.impl;

import com.qf.dao.AdminUserDao;
import com.qf.dao.impl.AdminUserDaoImpl;
import com.qf.pojo.User;
import com.qf.service.AdminUserService;

/**
 * @author 千锋教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
public class AdminUserServiceImpl implements AdminUserService {


    AdminUserDao adminUserDao = new AdminUserDaoImpl();

    @Override
    public User login(String username, String password) {
        User u = adminUserDao.select(username, password);
        return u;
    }
}
